package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.PlatformAccountDetailDAO;
import top.zywork.dos.PlatformAccountDetailDO;
import top.zywork.dto.PlatformAccountDetailDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.PlatformAccountDetailService;

import javax.annotation.PostConstruct;

/**
 * PlatformAccountDetailServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-07-20<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "platformAccountDetailService")
public class PlatformAccountDetailServiceImpl extends AbstractBaseService implements PlatformAccountDetailService {

    private PlatformAccountDetailDAO platformAccountDetailDAO;

    @Autowired
    public void setPlatformAccountDetailDAO(PlatformAccountDetailDAO platformAccountDetailDAO) {
        super.setBaseDAO(platformAccountDetailDAO);
        this.platformAccountDetailDAO = platformAccountDetailDAO;
    }

    @PostConstruct
    public void init() {
        super.init(PlatformAccountDetailDO.class, PlatformAccountDetailDTO.class);
    }
}
